package com.learncloud.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.learncloud.entity.SysDict;
import com.learncloud.mapper.SysDictMapper;
import com.learncloud.service.ISysDictService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 字典表 服务实现类
 * </p>
 *
 * @author yj
 */
@Service
public class SysDictServiceImpl extends ServiceImpl<SysDictMapper, SysDict> implements ISysDictService {

    @Autowired
    private SysDictMapper sysDictMapper;

    @Override
    public List getTypes() {
        List<Map> types = sysDictMapper.getTypes();
        return types;
    }
}
